<%@ Page Language="C#" MasterPageFile="~/pages/MasterPage.master" AutoEventWireup="true" CodeFile="TourList.aspx.cs" Inherits="pages_TourCategory" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="bodyHoder" Runat="Server">
<h3 >Region:</h3>
<ul style="clear:both;">
    <li><a href="TourList.aspx?region=northern">Tours in Northern</a></li>
    <li><a href="TourList.aspx?region=central">Tours in Central</a> </li>
    <li><a href="TourList.aspx?region=southern">Tour in Southern</a></li></ul>
<span class="v_padding10"></span>
<h3>Popular tours</h3>
    			<asp:Repeater ID="rptPopularTour" runat="server">
    			<ItemTemplate>
			    <div class="contentbox">
				    <a href="TourDetails.aspx?id=<%#Eval("Id") %>"><img src="<%#Eval("ImageURL") %>" alt="" class="thumb_image"/></a>
				    <h4 style="display:inline;clear:none;"><%#Eval("Name") %></h4><br />
				    <%#Eval("Description") %><br/>					    
				     <strong>Price: </strong><strong style="color:#003399;">$ <%#Eval("Price","{0:#.#}") %></strong>	
				     <asp:Panel Visible='<%# GetDiscountState(Eval("Discount")) %>' ID="pnlDiscount" runat="server"><strong>Discount: </strong> <strong style="color:Red;">$ <%#Eval("Discount","{0:#.#}") %></strong></asp:Panel><br />
				     <a href="TourDetails.aspx?id=<%#Eval("Id") %>">Details ...</a>
					    <a href= "TourBooking.aspx?&type=tour&id=<%#Eval("Id") %>">Booking &raquo;&raquo;</a>
			    </div>			    
			    </ItemTemplate>
			    </asp:Repeater>
			    <span class="v_padding10"></span>
			    <asp:Label ID="lblPaging" runat="server"></asp:Label>
</asp:Content>

